package start.test.ec;

//有价值的商品
public abstract class Commodity{

    private double value;//商品利润
    public Commodity(double value) {
        this.value = value;
    }
    abstract double taxes();//计算税金
    public double getValue() {
        return value;
    }

    public void setValue(double value) {
        this.value = value;
    }
    //打印税金
//    public void printTaxes(){
//
//    }
}
